package org.al.poc.persistence.beans;

import java.io.Serializable;
import java.util.Date;

public class Connection implements Serializable {
	
	/** Serializable **/
	private static final long serialVersionUID = 1L;

	private int idClient;
	
	private Date connDate;
	
	private Date respDate;
	
	private long sessionId;
	

	
	public Connection() {}
	
	public Connection(int idClient, Date connDate, Date respDate) {
		this.idClient = idClient;
		this.connDate = connDate;
		this.respDate = respDate;
	}

	public Connection(int idClient, Date connDate, Date respDate, long sessionId) {
		this.idClient = idClient;
		this.connDate = connDate;
		this.respDate = respDate;
		this.sessionId = sessionId;
	}

	
	
	
	public int getIdClient() {
		return idClient;
	}

	public void setIdClient(int idClient) {
		this.idClient = idClient;
	}

	public Date getConnDate() {
		return connDate;
	}

	public void setConnDate(Date connDate) {
		this.connDate = connDate;
	}

	public Date getRespDate() {
		return respDate;
	}

	public void setRespDate(Date respDate) {
		this.respDate = respDate;
	}

	public long getSessionId() {
		return sessionId;
	}

	public void setSessionId(long sessionId) {
		this.sessionId = sessionId;
	}

	
	
}
